<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>EventGadget</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">EventGadget()</font></b></p>
<p><b>Syntax</b></p><blockquote>

GadgetNumber = <font color="#006666"><b>EventGadget</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



After an event of type <font color="#924B72">#PB_Event_Gadget</font> (returned by <a href="windowevent.html">WindowEvent()</a> or <a href="waitwindowevent.html">WaitWindowEvent()</a>), use this function 
to determine which gadget has been triggered. 

 

</blockquote><p><b>Parameters</b></p><blockquote>

None.





</blockquote><p><b>Return value</b></p><blockquote>



Returns the #Gadget number associated to the event. 

 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="windowevent.html">WindowEvent()</a>, <a href="waitwindowevent.html">WaitWindowEvent()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=eventdata.html>EventData()</a> - <a href=index.html>Window Index</a> - <a href=eventmenu.html>EventMenu()</a> -&gt;



</body></html>